# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
s={10,20,30,40}
s1={30,40,10,20}
s2={10,20}
s3={30,40}
s4={50}
'''判断两个集合是否相等'''
print(s==s1)
print(s!=s2)
'''判断两个集合是否子集'''
print(s2.issubset(s))
print(s4.issubset(s))
print(s1.issubset(s))
'''判断两个集合是否超集'''
print(s.issuperset(s2))
print(s.issuperset(s4))
'''判断两个集合是否存在交集----isdisjoint判断是否没有交集'''
print(s.isdisjoint(s1))
print(s.isdisjoint(s4))